// INotificationService.aidl
package com.ecarx.notificationx;

import com.ecarx.notificationx.INotificationListener;
import com.ecarx.notificationx.StatusBarNotification;
import com.ecarx.notificationx.WidgetNotification;
import android.content.ComponentName;

interface INotificationService {

    void enqueueNotification(in StatusBarNotification notification);

    void enqueueWidgetNotification(in WidgetNotification notification);

    void cancelNotification(in String packageName, in int id);

    void addLauncherNotificationListener(in INotificationListener listener);

    void removeLauncherNotificationListener(in INotificationListener listener);

    void addVoiceNotificationListener(in INotificationListener listener);

    void removeVoiceNotificationListener(in INotificationListener listener);

    void onWidgetVisibilityChanged(in List<ComponentName> components, boolean visibility);

    void resetWidgetVisibility();

}
